package com.xlh.support.training.po;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @author cheer
 */
@ApiModel("实训保存参数")
@Data
public class TrainingSavePO {

    /**
     * 实训名称
     */
    @NotBlank(message = "实训名称不能为空")
    private String trainingName;

    /**
     * 图标名称
     */
    @NotNull(message = "图标不能为空")
    private Integer icon;

    /**
     * 简介
     */
    @NotBlank(message = "实训简介不能为空")
    private String description;
}
